class ContactsException
{
private:
    /* data */
    std::string message;
public:
    ContactsException(std::string str="A problem") : message(str){}
    std::string what() const
    {
        return message;
    }
};

